package cn.tedu.csmall.passport.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class AdminLoginInfoParam implements Serializable {
    @NotNull(message = "必须提交用户名！")
    @ApiModelProperty(value = "用户名",required = true)
    private String username;
    @NotNull(message = "必须提交密码！")
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
